package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 course_play_history
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public class CoursePlayHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 章节id */
    @Excel(name = "章节id")
    private Long sectionId;

    /** 课时id */
    @Excel(name = "课时id")
    private Long lessonId;

    /** 历史播放节点(s) */
    @Excel(name = "历史播放节点(s)")
    private Long historyNode;

    /** 最高历史播放节点 */
    @Excel(name = "最高历史播放节点")
    private Long historyHighestNode;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }

    public void setSectionId(Long sectionId) 
    {
        this.sectionId = sectionId;
    }

    public Long getSectionId() 
    {
        return sectionId;
    }

    public void setLessonId(Long lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Long getLessonId() 
    {
        return lessonId;
    }

    public void setHistoryNode(Long historyNode) 
    {
        this.historyNode = historyNode;
    }

    public Long getHistoryNode() 
    {
        return historyNode;
    }

    public void setHistoryHighestNode(Long historyHighestNode) 
    {
        this.historyHighestNode = historyHighestNode;
    }

    public Long getHistoryHighestNode() 
    {
        return historyHighestNode;
    }

    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("courseId", getCourseId())
            .append("sectionId", getSectionId())
            .append("lessonId", getLessonId())
            .append("historyNode", getHistoryNode())
            .append("historyHighestNode", getHistoryHighestNode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
